package com.zzyl.serve.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
* 按天统计查询指标数据 请求参数
* */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DeviceDataDayDto {

//    @ApiModelProperty(value = "功能ID", required = false)
    private String functionId;

//    @ApiModelProperty(value = "开始时间", required = false)
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Long startTime;

//    @ApiModelProperty(value = "结束时间", required = false)
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Long endTime;

//    @ApiModelProperty(value = "设备id")
    public String iotId;


}
